Motion/saturation detection system and method for synthesizing high dynamic range motion blur free images from multiple captures

ABSTRACT

Motion/Saturation detection system and method for synthesizing high dynamic range motion blur free images from multiple captures, the system and method utilizing photocurrent estimation to reduce read noise and enhance dynamic range at the low illumination end, saturation detection to enhance dynamic range at the high illumination end, and motion blur detection to ensure the photocurrent estimation is not corrupted by motion. Motion blur detection also makes it possible to extend exposure time and to capture more images, which can be used to further enhance dynamic range at the low illumination end. The present invention operates completely locally, making it well suited for single chip digital camera implementations.

CROSS-REFERENCES TO RELATED APPLICATIONS

[0001] This application relates to a co-pending U.S. patent application Ser. No. ______ by the same inventors, filed on the same date, and assigned to the same assignee, the co-pending application being titled “Photocurrent Estimation from Multiple Captures for Simultaneous SNR and Dynamic Range Improvement in CMOS Image Sensors” is hereby incorporated herein by reference.

[0002] This application relates to U.S. patent application Ser. No. 09/962,804, titled “CMOS Image Sensor System with Self-Reset Digital Pixel Architecture for Improving SNR and Dynamic Range”, and Ser. No. 09/962,847, titled “Method for Improving SNR in Low Illumination Conditions in a CMOS Video Sensor System Using a Self-Resetting Digital Pixel”, both of which were filed on Sep. 24, 2001, are assigned to the same assignee as the present application, and are hereby incorporated herein by reference.

BACKGROUND OF THE INVENTION

[0003] 1. Field of the Invention

[0004] The present invention relates generally to photocurrent estimation and, more particularly, to photocurrent estimation from multiple captures for simultaneously improving signal-to-noise ratio (SNR) and dynamic range in complementary metal oxide semiconductor (CMOS) image sensor systems.

[0005] 2. Description of the Related Art

[0006] An image sensor converts an optical image focused on the sensor into electrical signals. The electrical signals represent the intensity of the image. It is important that the image sensor be usable under a variety of lighting conditions because the wider the variety of lighting conditions under which the image sensor is usable the better the image quality. Consequently, the quality of an imaging system is commonly measured by the image sensor's dynamic range and its ability to mask noises, i.e., its SNR, under low light conditions.

[0007] The dynamic range of an image sensor measures how wide a range of lighting the sensor can accurately capture. For example, a scene including both a tree lit by bright sunlight and a person standing under the tree has a high dynamic range. This high dynamic range makes it difficult for the image sensor, such as one used in a camera, a video recorder, or a security monitor, to capture details of both the brightly lit tree and the person standing in the tree's shadow.

[0008] The wider the dynamic range of the image sensor, the more details can be shown under extreme conditions and thus the more versatile the associated imaging system becomes. For example, with a wide dynamic range, a novice or an inexperienced imaging system user can take great pictures or videos without worrying much about lighting conditions and/or corresponding settings. Even an advanced or experienced user is likely to enjoy the convenience and advantages of a wide dynamic range imaging system.

[0009] The SNR of an image sensor measures the ratio between the signal and its associated noise. An image sensor with low SNR will have an objectionable amount of static-like or grain-like noise appearing in the captured image, while an image sensor with high SNR can be used under low lighting conditions, such as in a room lit only by candlelight. Clearly, an ideal imaging system would desirably have a high SNR as well as a wide dynamic range.

[0010] Another desirable feature of an ideal imaging system is the prevention/elimination of motion blur, allowing a quality image to be captured from a moving subject. In the case of a camera, motion blur may be controlled by shutter speed. However, the effectiveness of this technique is dependent upon illumination level. As such, a highly desirable imaging system would be one that is capable of automatically adjusting itself in order to compensate a wide range of illumination levels and one that produces noise free and motion blur free high quality images even when the subject may be moving fast and/or unexpectedly. Virtually all imaging systems and image sensing devices can benefit from utilizing image sensors that offer wider dynamic range, higher SNR, and motion blur free images.

[0011] Most of today's imaging systems and image sensing devices such as video and digital cameras use charge-coupled device (CCD) image sensors. In CCD image sensors, the electric charge collected by the photo detector array during exposure time is serially shifted out of the sensor chip, resulting in slow readout speed and high power consumption. Furthermore, since CCDs are fabricated in a non-standard technology, other analog and digital camera functions such as A/D conversion, image processing and compression, control and storage cannot be integrated with the sensor on the same chip and must be implemented using several other chips. Such implementation can be quite expensive because of the specialized processing involved for CCDs.

[0012] CCD image sensors are well known in the art and thus are not described herein. An exemplary teaching can be found in U.S. Pat. No. 5,272,535, which is incorporated herein by reference, titled “Image Sensor with Exposure Control, Selectable Interlaced, Pseudo Interlaced or Non-Interlaced Readout and Video Compression”, issued to Elabd of Sunnyvale, Calif., and assigned to Loral Fairchild Corporation, Syosset, N.Y., December 1993.

[0013] The CMOS technology provides the possibility of integrating image sensing and digital signal processing on the same chip, resulting faster, smaller, less expensive, and lower power image sensing devices. The advantages of CMOS image sensors over CCD image sensors are well known. An exemplary teaching, which is incorporated herein by reference, can be found in Wong's “Technology and Device Scaling Considerations for CMOS Imagers”.

[0014] Recently developed CMOS image sensors are read out non-destructively and in a manner similar to a digital memory and can thus be operated at very high frame rates. Several high speed CMOS Active Pixel Sensors have been recently reported. In “A High Speed, 500 Frames/s, 1024×1024 CMOS Active Pixel Sensor”, Krymski et al. describe a 1024×1024 CMOS image sensor that achieves 500 frames per a second. Stevanovic et al. describe in “A CMOS Image Sensor for High Speed Imaging” a 256×256 sensor achieving 1000 frames per a second. In “A 10,000 Frames/s 10.18 μm CMOS Digital Pixel Sensor with Pixel-Level Memory”, Kleinfelder et al. describe a 352×288 CMOS Digital Pixel Sensor achieving 10,000 frames per a second.

[0015] Unlike CCD image sensors, a CMOS image sensor can be integrated with other camera functions on the same chip ultimately leading to a single-chip digital camera with very small size, low power consumption and additional functionality. The integration of processing and image capture coupled with high frame rate capability of CMOS image sensors enable efficient implementations of many still and standard video imaging applications. A drawback, however, is that CMOS image sensors generally suffer from lower dynamic range and SNR than CCDs due to their high readout noise and non-uniformity.

[0016] It has been proposed to enhance dynamic range via multiple image captures (multiple sampling). The idea is to capture several images at different times within the normal exposure time—shorter exposure time images capture the brighter areas of the scene while longer exposure time images capture the darker areas of the scene. (In video imaging applications, the video frame rate sets an upper bound on the exposure time. In digital still photography, the maximum exposure time is limited by possible motion of the digital camera, possible motion of the subject, and saturation of the sensors.) A high dynamic range image is then synthesized from the multiple captures by appropriately scaling each pixel's last sample before saturation.

[0017] In “Comparative Analysis of SNR for Image Sensors with Enhanced Dynamic Range”, which is hereby incorporated herein by reference, Yang et al. show that this scheme achieves higher SNR than other dynamic range enhancement implementations. However, this scheme does not take full advantage of the captured images. Since readout noise is not reduced, dynamic range is only extended at the high illumination end. Furthermore, according to this prior art scheme, although dynamic range can be extended at the low illumination end by increasing exposure time, such increase in exposure time results in unacceptable blur due to motion or change of illumination.

BRIEF SUMMARY OF THE INVENTION

[0018] Accordingly, it is a primary object of the present invention to provide a novel dynamic range enhancement that overcomes weaknesses and drawbacks of prior art dynamic range enhancement schemes.

[0019] It is an object of the present invention to provide novel apparatuses, systems, and methods for synthesizing high dynamic range, motion blur free images from multiple captures in a CMOS image sensor system.

[0020] It is another object of the present invention to provide photocurrent estimation systems and methods for estimating photocurrent from multiple captures, the inventive photocurrent estimation systems and methods improving both the SNR and dynamic range in a CMOS image sensor even under low illumination.

[0021] It is yet another object of the present invention to provide motion/saturation detection systems and methods for improving the SNR and enhancing the dynamic range in a CMOS image sensor system while ensuring the integrity of the inventive photocurrent estimation, the motion/saturation detection updates the photocurrent estimation in accordance with a determination whether motion blur/saturation has occurred.

[0022] It is a further object of the present invention to provide imaging system and apparatuses capable of generating high quality images without motion blur and/or noise even at high speed, with longer exposure time beyond standard, and/or under low illumination.

[0023] It is another object of the present invention to anticipate easy, fast, simple, efficient and economical implementations of the inventive algorithms. The algorithms operate completely locally, i.e., each image pixel's final value is computed using only its captured values, and recursively, thereby requiring only a small constant number of values per pixel be stored, the constant number being independent to the number of images captured.

[0024] It is therefore a further object of the present invention to implement the inventive algorithms on a single chip digital camera with increased SNR and enhanced dynamic range, the digital camera capable of capturing multiple samples in an exposure time and generating high quality images without motion blur even under low illumination.

[0025] Still further objects and advantages of the present invention will become apparent to one of ordinary skill in the art upon reading and understanding the following drawings and detailed description of the preferred embodiments. As it will be appreciated by one of ordinary skill in the art, the present invention may take various forms and may comprise various components and steps and arrangements thereof. Accordingly, the drawings are for purposes of illustrating a preferred embodiment(s) of the present invention and are not to be construed as limiting the present invention.

BRIEF DESCRIPTION OF THE DRAWINGS

[0026]FIG. 1 is a schematic representation of an image sensor model that can be implemented to benefit from embodiments of the present invention.

[0027]FIG. 2 shows electric charge vs. time for pixel under three lighting conditions.

[0028]FIG. 3 shows (a) a scene where a bright square object moving diagonally across still dark background; (b) the final image generated with long exposure time; (c) the final image generated with short exposure time; and (d) the final image generated in accordance with an embodiment of the present invention.

[0029]FIG. 4 is a high level flow chart showing high dynamic range, motion blur free synthesis from multiple captures according to another embodiment of the present invention.

[0030]FIG. 5 is a diagram showing estimation weights used in the recursive embodiment of the present invention.

[0031]FIG. 6 is a diagram showing equivalent readout noise versus number of samples according to various embodiments of the present invention.

[0032]FIG. 7 is a diagram showing soft decision motion detection according to yet another embodiment of the present invention.

[0033]FIG. 8 is a diagram showing optimal integration time under motion according to the principles of the present invention.

[0034]FIG. 9 is a diagram showing SNR and dynamic range being enhanced in accordance with an embodiment of the present invention.

[0035]FIG. 10 shows an example of motion blur elimination achieved with an embodiment of the present invention were (a) shows a first position of a dancer at start of an exposure time, (b) shows a second position of the dancer at end of the exposure time, (c) is a final image generated by a conventional sensor, and (d) is a final image generated in accordance with the teachings of the present invention.

[0036]FIG. 11 shows an exemplary recursive estimation system according to an aspect of the present invention.

DETAILED DESCRIPTION OF THE INVENTION

[0037] CMOS image sensors are known to be capable of non-destructive readout at very high frame rate. This high speed image readout capability, which makes it possible to capture multiple images within a normal exposure time, and the potential of integrating memory and signal processing with the image sensor on the same chip enable the implementation of many new imaging applications.

[0038] Prior implementations have demonstrated the use of this capability to enhance the image sensor dynamic range. The idea is to capture several frames during a normal exposure time and combine them into one single dynamic range image. These prior implementations, however, do not reduce read noise and thus only enhance the image sensor's dynamic range at the high illumination end. For example, as described herein, it has been proposed to simply scale each pixel's last sample before saturation for the synthesis. However, because read noise is not reduced, this prior art method only increases dynamic range at high illumination end and it suffers from potential motion blur.

[0039] Overcoming the weaknesses and drawbacks of prior art teachings, the present invention provides novel apparatuses, systems and methods for synthesizing a high dynamic range image from multiple captures while avoiding motion blur. An image sensor model with which the present invention may be integrated will first be described and various embodiments will next be described herein.

[0040] An Image Sensor Model

[0041] As shown in FIG. 1, a typical image sensor 100 used in an analog or digital camera generally consists of a two dimensional (2D) array of pixels 110. Each pixel 120 may include a photodiode 121, a reset transistor 123, and several other readout transistors in readout circuit 125. The photodiode is reset before the beginning of capture. During capture, each pixel converts incident light into photocurrent i_(ph)(t), for 0≦t≦T, where T is the exposure time. This process is quite linear and thus i_(ph)(t) is a good measure of incident light intensity.

[0042] Since the photocurrent is too small to measure directly, it is integrated onto the photodiode parasitic capacitor 122 and the charge (or voltage) Q(T) 130 is read out at the end of exposure time T. Dark current i_(dc) and additive noise corrupt the output signal charge. The noise can be expressed as sum of following three independent components:

[0043] Shot noise U(T), which is normalized (zero mean) Poisson distributed. Here the photocurrent is assumed to be large enough and thus shot noise can be approximated by a Gaussian U(T) ∼ N(0, q∫₀^(T)(i_(ph)(t) + i_(dc))t),

[0044] where q is the electron charge.

[0045] Reset noise (including offset fixed pattern noise (FPN)) C˜N(0,σ_(C) ^(c)).

[0046] Readout circuit noise V(T) (including quantization noise) with zero mean and variance σ_(V) ².

[0047] Thus, the output charge from a pixel can be expressed as $\begin{matrix} {{{Q(T)} = {{\int_{0}^{T}{\left( {{i_{ph}(t)} + i_{dc}} \right){t}}} + {U(T)} + {V(T)} + C}},} & (1) \end{matrix}$

[0048] provided Q(T)≦Q_(sat), the saturation charge, also referred to as well capacity. If photocurrent is constant over exposure time, signal-to-noise ratio (SNR) is given by $\begin{matrix} {{{SNR}\left( i_{ph} \right)} = {20\quad \log_{10}{\frac{i_{ph}T}{\sqrt{{{q\left( {i_{ph} + i_{dc}} \right)}T} + \sigma_{V}^{2} + \sigma_{C}^{2}}}.}}} & (2) \end{matrix}$

[0049] Note that SNR increases with i_(ph), first at 20 dB per decade when reset and readout noise variance dominates, and then at 10 dB per decade when shot noise variance dominates. SNR also increases with T. Thus it is always preferred to have the longest possible exposure time. Saturation and change in photocurrent due to motion, however, makes it impractical to make exposure time too long.

[0050] Dynamic range is a critical figure of merit for image sensors. It is defined as the ratio of the largest non-saturating photocurrent i_(max) to the smallest detectable photocurrent i_(min), typically defined as the standard deviation of the noise under dark conditions. Using the sensor model, dynamic range can be expressed as $\begin{matrix} {{DR} = {{20\quad \log_{10}\frac{i_{\max}}{i_{\min}}} = {20\quad \log_{10}{\frac{Q_{sat} - {i_{dc}T}}{\sqrt{{q\quad i_{dc}T} + \sigma_{V}^{2} + \sigma_{C}^{2}}}.}}}} & (3) \end{matrix}$

[0051] Note that dynamic range decreases as exposure time increases due to the adverse effects of dark current. To increase dynamic range, one needs to either increase well capacity Q_(sat), and/or decrease read noise σ_(V) ². Prior art methods for enhancing sensor dynamic range have focused on effectively increasing well capacity by reducing exposure time T, which only increases dynamic range at the high illumination end. The present invention provides increased dynamic range and reduced read noise even at the low illumination end.

[0052] High Dynamic Range Image Synthesis

[0053] Referring now to FIG. 2 where the effect of three different lighting conditions with respect to photocurrent estimation is illustrated. As shown in the top plot of FIG. 2, under a constant low light, the photocurrent can be well estimated from Q(T). In a case of a constant high light, as shown in the middle plot of FIG. 2, where Q(T)=Q_(sat), the photocurrent cannot be well estimated from Q(T). The bottom plot of FIG. 2 shows that the lighting condition changes during exposure time, e.g., due to motion. In this case, photocurrent at the beginning of exposure time i_(ph)(0) again cannot be well estimated from Q(T).

[0054] To avoid saturation and the change of i_(ph)(t) due to motion, exposure time may be shortened, e.g., to T in FIG. 2. Since in conventional sensor operation, exposure time is set globally for all pixels, this results in reduction of SNR, i.e., much noisier, especially for pixels under low light.

[0055] Such weakness of conventional pixel operation is further demonstrated in FIG. 3 where a bright square object moves diagonally across a dark background. Ideally, an image captured during such movement should be free of noise and motion blur as shown in (a). In conventional pixel operation, however, setting long exposure time achieves high SNR (less noise) but results in significant motion blur as shown in (b). On the other hand, if exposure time is set short to reduce motion blur, SNR deteriorates resulting in noisy image as shown in (c). As shown in (d), image captured according to the principles of the present invention does not suffer from motion blur, as in (b), or noise, as in (c), and is substantially close to ideal, as in (a). The present invention disclosed herein clearly and advantageously overcomes the shortcomings of the conventional pixel operation.

[0056] With recent advances in CMOS image sensor technology, it is now possible to capture and nondestructively read out, i.e., without resetting, several images within a normal exposure time. As such, pixel exposure time can be “adapted” to its lighting condition so that pixels with high light have short exposure times while pixels with low light have long exposure times. For example, referring to FIG. 2, if four images are captured at τ, 2τ, 3τ, and T=4τ, the photocurrent for the high light pixel can be estimated using the images captured at τ and 2τ, while for the low light pixel it can be estimated using the four images. Motion blur in the third case can be reduced by using the first capture only to estimate photocurrent at the beginning of exposure time i_(ph)(0).

[0057] Prior art studies have shown that it is possible to estimate photocurrent at the beginning of exposure time using captured image. Yang et al. disclose an estimation method in “A 640×512 CMOS image sensor with ultra-wide dynamic range floating-point pixel level ADC” in which a last sample before saturation is used to estimate photocurrent. This estimation method, however, does not address motion blur. Accordingly, this method produces images similar to one that is shown in (b) of FIG. 3. The novel photocurrent estimation algorithms described herein employ all samples before saturation and produce almost blur free and less noisy images such as one that is shown in (d) of FIG. 3.

[0058] Referring now to FIG. 4, wherein a high level flow chart of a high dynamic range, motion blur free image synthesis with multiple captures utilizing the novel estimation and motion/saturation detection algorithms according to the present invention is provided. The image synthesis algorithm according to the present invention essentially operates on n images captured at times τ, 2τ, . . . , nτ=T as follows:

[0059] 1. Capture a first image, set k=1;

[0060] 2. Estimate, for each pixel, photocurrent Î_(k) from Q(τ);

[0061] 3. Capture next image;

[0062] 4. Determine, for each pixel, whether motion/saturation has occurred.

[0063] 5. Repeat steps 3 and 4 until k=n.

[0064] In step 4, if motion is detected, set final photocurrent estimate: Î_(n)=Î_(k). On the other hand, if no motion is detected, or if a decision is deferred, the system finds a current estimate Î_(k+1) from Q((k+1)τ) and Î_(k) and set k=k+1.

[0065] Note this image synthesis algorithm actually operates on n+1 images. The first image, which is ignored here, is taken at t=0 and is used to reduce reset noise and offset FPN as discussed in detail herein.

[0066] Photocurrent Estimation Dynamic range at the low illumination end can be enhanced using multiple captures by appropriately averaging each pixel's photocurrent samples to reduce readout noise. Since the sensor noise depends on the signal and the photocurrent samples are dependent, equal weight averaging may not reduce readout noise and can in fact be worse than simply using the last sample before saturation to estimate photocurrent. The present inventive estimation system avoids this potential pitfall by utilizing linear mean square estimation (MSE) to derive optimal weights used in the averaging process. Furthermore, the present invention provides means for determining whether to include the last sample before saturation/motion in the estimation.

[0067] To maximize the likelihood of finding the best and most unbiased estimate and achieve the smallest probability of error, the present invention provides estimation solutions for the following three scenarios:

[0068] (1) when reset noise and offset FPN are ignored;

[0069] (2) when reset noise and FPN are considered; and

[0070] (3) when reset noise as well as FPN are considered without the need to store all the samples (a recursive solution).

[0071] These scenarios can be formulated as follows. Assume n+1 pixel charge samples Q_(k) are captured at times 0, τ, 2τ, . . . , nτ=T. Define the pixel current i=i_(ph)+i_(dc). The kth charge sample is thus given by ${Q_{k} = {{{ik}\quad \tau} + {\sum\limits_{j = 1}^{k}U_{j}} + V_{k} + C}},{{{for}\quad 0} \leq k \leq n},$

[0072] where V_(k) is the readout noise of the kth sample, U_(j) is the shot noise generated during the time interval ((j−1)τ, jτ), and C is the reset noise. The U_(j)'s, V_(k), and C are independent zero mean random variables with

[0073] E(V_(k) ²)=σ_(V) ²>0, for 0≦k≦n,

[0074] E(U_(j) ²)=σ_(U) ²=qiτ, for 1≦j≦k, and

[0075] E(C²)=σ_(C) ².

[0076] Ideally, the signal i is estimated from n+1 samples. Due to motion and/or saturation, however, the estimation may not use all n+1 samples. Note estimation parameters can be formulated using several criteria, such as likelihood ratio and mean square error. As is known in the art, maximum likelihood estimation achieves the smallest probability of error, but is generally difficult to derive and may lead to non-linear solutions that are not easy to implement in practice. An exemplary teaching, which is hereby incorporated herein by reference, on the principles and problems related to parameter estimation can be found in “Parameter Estimation, Principles and Problems” by H. Sorenson. Accordingly, the present invention focuses on linear minimum mean square estimation (MMSE).

[0077] A preferred goal of the present invention is to find, at time kτ, the best unbiased linear mean square estimate Î_(k) of the parameter I, given {Q₀, Q₁, . . . , Q_(k)}, i.e., find coefficients b₀ ^((k)), b₁ ^((k)), . . . , b_(k) ^((k)) such that $\begin{matrix} {{{\hat{I}}_{k} = {\sum\limits_{j = 0}^{k}{b_{j}^{(k)}Q_{j}}}},} & (4) \end{matrix}$

[0078] minimizes mean square error (MSE) Φ_(k) ²=E(Î_(k)−i)²,

[0079] subject to a linear constraint E(Î_(k))=i where superscript (k) represents number of captures used while subscript k serves as index of the coefficients for each capture.

[0080] Having stated the preferred goal, estimation solutions for the three scenarios will now be described. For exhaustive details on respective mathematical models and corresponding calculations, readers are referred to Applicants' publication, “Photocurrent Estimation from Multiple Non-Destructive Samples in a CMOS Image Sensor”, Proc. of SPIE, Vol. 4306, March 2001, the publication of which is hereby expressly incorporated herein by reference in its entirety.

[0081] Estimation for Scenario (1)—A Recursive Solution

[0082] Ignoring reset noise and offset FPN, i.e., setting C=0, although not realistic for CMOS sensors, is reasonable for high-end CCD's with very high resolution analog to digital converter (ADC). With this reasonable assumption, optimal estimate can be formed in a recursive manner, which is not the case when reset noise is considered. To derive the best estimate, the pixel current samples is defined as ${{\overset{\sim}{I}}_{k} = {\frac{Q_{k}}{k\quad \tau} = {i + \frac{\sum\limits_{j = 1}^{k}U_{j}}{k\quad \tau} + \frac{V_{k}}{k\quad \tau}}}},{{{for}\quad 1} \leq k \leq {n.}}$

[0083] That is, given samples {Î₁, Î₂, . . . , Î_(k)}, the goal is to find the best unbiased linear estimate Î_(k) of the parameter i, i.e., weights a₁ ^((k)), a₂ ^((k)), . . . , a_(k) ^((k)), such that $\begin{matrix} {{{\hat{I}}_{k} = {\sum\limits_{j = 1}^{k}{a_{j}^{(k)}{\overset{\sim}{I}}_{j}}}},} & (5) \end{matrix}$

[0084] that minimizes mean square error (MSE) Φ_(k) ²=E(Î_(k)−i)²,

[0085] subject to a linear constraint E(Î_(k))=i.

[0086] Exemplary teachings on finding optimal weights using predefined conditions can be found in the previously referenced and incorporated Applicants' publication, “Photocurrent Estimation from Multiple Non-Destructive Samples in a CMOS Image Sensor”.

[0087] The optimal estimate Î_(k) in this case can be cast in a recursive form. For example, define a set of weights as b_(j), such that $\begin{matrix} {{b_{1} = 1},{b_{j} = {{{jb}_{1} + {\frac{j}{j - 1}b_{j - 1}} + {\frac{j\quad \sigma_{U}^{2}}{\sigma_{V}^{2}}\left( {\sum\limits_{l = 1}^{j - 1}\frac{b_{l}}{l}} \right)\quad {for}\quad j}} \geq 2.}}} & (6) \end{matrix}$

[0088] Accordingly, a_(j) ^((k)) can be represented in terms of b_(j) such that $a_{j}^{(k)} = {{\frac{b_{j}}{\sum\limits_{l = 1}^{k}b_{l}}{for}\quad 1} \leq j \leq {k.}}$

[0089] As such, the optimal photocurrent estimate Î_(k) can be written in a recursive form in terms of b_(k), the latest photocurrent sample Î_(k), and the previous estimate Î_(k−1) as $\begin{matrix} {{{{\hat{I}}_{k} = {{\hat{I}}_{k - 1} + {h_{x}\left( {{\overset{\sim}{I}}_{k} - {\hat{I}}_{k - 1}} \right)}}},{where}}{h_{k} = {{\frac{b_{k}}{g_{k}}\quad {and}\quad g_{k}} = {\sum\limits_{l = 1}^{k}{b_{l}.}}}}} & (7) \end{matrix}$

[0090] The MSE can also be expressed in a recursive form such that $\begin{matrix} {\Phi_{k}^{2} = {{\frac{g_{k - 1}^{2}}{g_{k}^{2}}\Phi_{k - 1}^{2}} + {\frac{1}{g_{k}^{2}}\left( {{\left( {{2b_{k}g_{k - 1}} + b_{k}^{2}} \right)\frac{\sigma_{U}^{2}}{k\quad \tau^{2}}} + {b_{k}^{2}\frac{\sigma_{V}^{2}}{\left( {k\quad \tau} \right)^{2}}}} \right)}}} & (8) \end{matrix}$

[0091] This is important because the MSE is also used in the novel motion/saturation detection algorithm described herein.

[0092] The initial conditions for computing the estimate and its MSE are as follows: b₁=1; approximate the first estimator Î₁ by Ĩ₁ and $\Phi_{1}^{2} = {\frac{\sigma_{U}^{2}}{\tau^{2}} + {\frac{\sigma_{V}^{2}}{\tau^{2}}.}}$

[0093] To compute the estimate Î_(k+1) and the MSE Φ_(k+1) ², one needs to know σ_(U) ²=qiτ, which means that one needs to know the parameter i. In equations (6) and (8), σ_(U) ² 32 qiτ is approximated using the latest estimate of i, Î_(k), i.e., σ_(U) ²=qÎ_(k)τ. This approximation yields a MSE that is very close to the optimal case, i.e., when i is known.

[0094] Estimation for Scenario (2)—A Non-Recursive Solution

[0095] Taking reset noise and offset FPN into consideration, Ĩ_(k) is redefined as $\begin{matrix} {{{\overset{\sim}{I}}_{k} = \frac{Q_{k} - {wQ}_{0}}{k\quad \tau}},{{{for}\quad 1} \leq k \leq {n.}}} & (9) \end{matrix}$

[0096] The weight w is obtained by solving for the optimal b₀ in equation (4), which yields $w = {\frac{\sigma_{C}^{2}}{\sigma_{C}^{2} + \sigma_{V}^{2}}.}$

[0097] Note that Ĩ_(k) corresponds to an estimate with a weighted correlated double sampling (CDS) operation. The weighting has the effect of reducing the additional readout noise due to CDS.

[0098] The pixel current estimate Î_(k), given the first k samples, can be expressed as Î_(k)=A_(k)Ĩ_(k), where optimal coefficient vector A_(k)=[a₁ ^((k))a₂ ^((k)) . . . a_(k) ^((k))] and photocurrent sample vector Ĩ_(k)=[Ĩ₁Ĩ₂ . . . . Ĩ_(k)]^(T). Note that since this estimation algorithm cannot be expressed in a recursive form, finding the optimal current estimate Î_(k) requires the storage of the vector Ĩ_(k) and inverting a k×k matrix. Exemplary teachings on solving such matrices and finding Lagrange multiplier for the linear constraint can be found in the previously referenced and incorporated Applicants' publication, “Photocurrent Estimation from Multiple Non-Destructive Samples in a CMOS Image Sensor”.

[0099] Estimation for Scenario (3)—A Suboptimal Recursive Solution

[0100] Taking the reset noise and FPN into consideration, a suboptimal recursive estimation, i.e., without the need to store all samples, will now be described. This estimation solution utilizes the recursive optimal photocurrent estimate of the first scenario, i.e.,

Î _(k) =Î _(k−1) +h _(k)(Ĩ _(k) −Î _(k−1)),  (7)

[0101] and the redefined pixel current samples of the second scenario, i.e., $\begin{matrix} {{{\overset{\sim}{I}}_{k} = \frac{Q_{k} - {wQ}_{0}}{k\quad \tau}},{{{for}\quad 1} \leq k \leq {n.}}} & (9) \end{matrix}$

[0102] The coefficient h_(k) can be found by solving the equations

[0103] and $\begin{matrix} {{\frac{\Phi_{k}^{2}}{h_{k}} = {\frac{{E\left( {{\hat{I}}_{k} - i} \right)}^{2}}{h_{k}} = 0}}{and}{{E{\hat{I}}_{k}} = {i.}}} & (10) \end{matrix}$

[0104] Define the MSE of Ĩ_(k) as $\begin{matrix} {\Delta_{k}^{2} = {{E\left( {{\overset{\sim}{I}}_{k} - i} \right)}^{2} = {\frac{1}{k^{2}\tau^{2}}\left( {{k\quad \sigma_{U}^{2}} + {\left( {1 + w} \right)\sigma_{V}^{2}}} \right)}}} & (11) \end{matrix}$

[0105] and the covariance between Ĩ_(k) and Î_(k) as $\begin{matrix} \begin{matrix} {\Theta_{k} = \quad {{E\left( {{\overset{\sim}{I}}_{k} - i} \right)}\left( {{\hat{I}}_{k} - i} \right)}} \\ {= \quad {{\left( {1 - h_{k}} \right)\frac{k - 1}{k}\Theta_{k - 1}} - {\frac{\left( {1 - h_{k}} \right)h_{k - 1}}{{k\left( {k - 1} \right)}\tau^{2}}\sigma_{V}^{2}} + {h_{k}{\Delta_{k}^{2}.}}}} \end{matrix} & (12) \end{matrix}$

[0106] The MSE of Î_(k) can be expressed in terms of Δ_(k) ² and Θ_(k) as $\begin{matrix} \begin{matrix} {\Phi_{k}^{2} = \quad {{\left( {1 - h_{k}} \right)^{2}\Phi_{k - 1}^{2}} + {\frac{2\left( {k - 1} \right)\left( {1 - h_{x}} \right)h_{k}}{k}\Theta_{k - 1}} -}} \\ {\quad {{\frac{2{h_{k - 1}\left( {1 - h_{k}} \right)}h_{k}}{{k\left( {k - 1} \right)}\tau^{2}}\sigma_{V}^{2}} + {h_{k}^{2}{\Delta_{k}^{2}.}}}} \end{matrix} & (13) \end{matrix}$

[0107] To minimize the MSE, $\frac{\Phi_{k}^{2}}{h_{k}} = 0$

[0108] is required, which gives $\begin{matrix} {h_{k} = \frac{\Phi_{k - 1}^{2} - {\frac{\left( {k - 1} \right)}{k}\Theta_{k - 1}} + \frac{h_{k} - {i\sigma}_{V}^{2}}{{k\left( {k - 1} \right)}\quad \tau^{2}}}{\Phi_{k - 1}^{2} - {\frac{2\left( {k - 1} \right)}{k}\Theta_{k - 1}} + \frac{{2h_{k}} - {i\sigma}_{V}^{2}}{{k\left( {k - 1} \right)}\quad \tau^{2}} + \Delta_{k}^{2}}} & (14) \end{matrix}$

[0109] Note that h_(k), θ_(k) and Φ_(k) can all be recursively updated. For example, at each iteration,

Φ_(k) ²=(1−h _(k))²Φ_(k−1) ²+2h _(k)Θ_(k) −h _(k) ²Δ_(k) ².

[0110] With this suboptimal recursive algorithm, only the old estimate Î_(k−1), the new sample value Ĩ_(k), and three parameters, h_(k), Θ_(k) and Φ_(k) are needed in order to find the new estimate Î_(k). Thus, only a small amount of memory per pixel is required and the amount of pixel memory required is advantageously independent of the number of images captured.

[0111] The advantages such as improved SNR offered by the novel estimation algorithms can be further demonstrated with reference to FIGS. 5 and 6 where the following sensor parameters are used.

Q _(sat)=18750 e−

i_(dc)=0.1 fA

σ_(V)=60 e−

σ_(C)=62 e−

T=32 ms

τ=1 ms

[0112]FIG. 5 plots the estimation weights used in the recursive estimation algorithm. The relationship between the number of samples k captured and the estimation weights as shown in FIG. 5 can be easily understood by one of ordinary skill in the art and thus is not described in details herein. FIG. 6 compares the equivalent readout noise (RMS) and SNR values at low illumination level corresponding to i_(ph)=2 fA as a function of the number of samples k for conventional sensor operation, i.e., no estimation, and using the recursive estimation algorithm described herein. As can be seen in FIG. 6, the equivalent readout noise after the last sample is reduced from 60 e⁻, when no estimation is used, to 18 e⁻, when the recursive estimator is used.

[0113] Advantages of the present invention including simultaneous SNR and dynamic range enhancement utilizing the inventive estimation system described herein can be seen in FIG. 7, especially when compared to conventional sensor operation where the last sample In is used.

[0114]FIG. 7 shows that SNR in an image sensor system that utilizes the inventive estimation system is consistently higher, due to the reduction in read noise. Such improvement is most pronounced at the low illumination end, i.e., under low light. More significantly, the sensor dynamic range, defined as the ratio of the largest signal i_(max) to the smallest detectable signal i_(min), is increased compared to the convention sensor operation.

[0115] For example, assume in a conventional sensor operation i_(max)=Q_(sat)/T and i_(min)=σ/T, where sensor parameters Q_(sat) =18750e⁻; σv=60e⁻; T=32 ms; and sample number n=32. This yields a dynamic range of 47.4 dB. With the inventive estimation system, on the other hand, the dynamic range is advantageously extended to 85.5 dB—increasing 30.1 dB at the high illumination end and 8 dB at the low illumination end.

[0116] According to these described principles of the present invention, provided are the following embodiments:

[0117] 1. An optimal recursive algorithm when reset noise and offset fixed pattern noise (FPN) are ignored. In this case, since the reset noise and FPN are ignored, the estimation algorithm can be cast in a recursive form, which, in turn, minimizes pixel storage required for the corresponding operation. That is, only the latest estimate and the new sample are needed to update the pixel photocurrent estimate. This estimation solution is well suited for, but not limited to, high-end CCD's using very high resolution ADC.

[0118] 2. An optimal non-recursive algorithm when reset noise and FPN are considered. In this case, the estimation solution cannot be expressed in a recursive form. Accordingly, this estimation solution is well suited for, but not limited to, applications with reduction/elimination of readout noise and FPN being the main focus.

[0119] 3. A suboptimal recursive estimator for the non-recursive algorithm. In this case, the reset noise and FPN are considered and the corresponding estimation solution can be cast in a recursive form. As described herein, the suboptimal recursive estimator yields mean square error close to the non-recursive algorithm without the need to store all the samples, requiring the storage of only a constant number of values per pixel. Furthermore, the pixel storage requirement can be independent of the number of image sample captured. As such, the suboptimal recursive estimator offers at least the following advantages: improved SNR and independent minimal pixel storage requirement.

[0120] Motion/Saturation Detection

[0121] The derivation of the recursive linear estimation algorithms operates advantageously when no motion blur or saturation occurs. That is, when i(t) is constant and saturation does not occur before kτ. Blurring due to object or camera motion during image capture can cause substantial degradation in image quality. To further enhance the quality of the image captured, the present invention provides a novel motion/saturation detection algorithm for updating the photocurrent estimate when motion blur is detected and/or saturation has occurred.

[0122] A great deal of research has been conducted on developing methods for restoring blurred images. An exemplary teaching on digital image restoration can be found in “Digital image restoration” by Banham et al. These methods make certain assumptions on the blurring process, the ideal image, and the noise. Various image processing techniques are then used to identify the blur and restore the image. However, due to the lack of sufficient knowledge of the blurring process and the ideal image, these known and developed image blur restoration methods have limited applicability and their computational burden can be quite substantial.

[0123] Without a complete knowledge of the statistics of the noise and specified motion model, it is not possible to derive an absolutely optimal detection algorithm. However, as previously described, particularly with reference to FIGS. 3 and 6, the present invention provides a best possible solution by performing the motion/saturation detection step prior to each estimation step, as shown and described with reference to FIG. 4, thereby forming a blur free high dynamic range image from the n+1 captured images, taking into consideration the tradeoffs between motion induced distortion and SNR improvement due to increased exposure time.

[0124] The novel motion/saturation detection algorithm operates on each pixel separately. After the kth capture, the best MSE linear estimate of i, Î_(k), and its MSE, Φ_(k) ², are computed as previously described with reference to the suboptimal recursive algorithm. If the current stays constant, the next observation I_(k+1) ^({tilde over (p)}re) would be $\begin{matrix} {{\overset{\sim}{I}}_{k + 1}^{pre} = {i + \frac{\sum\limits_{j = 1}^{k + 1}U_{j}}{\left( {k + 1} \right)\quad \tau} + \frac{V_{k + 1} - {wV}_{0}}{\left( {k + 1} \right)\quad \tau} + \frac{\left( {1 - w} \right)C}{\left( {k + 1} \right)\quad \tau}}} & (15) \end{matrix}$

[0125] and the best predictor of I_(k+1) ^({tilde over (p)}re) is Î_(k) with the prediction MSE given by $\begin{matrix} \begin{matrix} {\Delta_{per}^{2} = {E\left( \left( {{\overset{\sim}{I}}_{k + 1}^{per} - \hat{I_{k}}} \right)^{2} \middle| \hat{I_{k}} \right)}} \\ {= {{\left( \frac{k}{k + 1} \right)^{2}\Delta_{k}^{2}} + \Phi_{k}^{2} - {\frac{2k}{k + 1}\Theta_{k}} + {\frac{2h_{k}}{{k\left( {k + 1} \right)}\quad \tau^{2}}\sigma_{V}^{2}} + \frac{\sigma_{U}^{2}}{{k\left( {k + 1} \right)}^{2}\quad \tau^{2}}}} \end{matrix} & (16) \end{matrix}$

[0126] where Δ_(k) ², Θ_(k), Φ_(k) ², and h_(k) are given in equation (11), (12), (13), (14), respectively.

[0127] Thus, whether the input signal i changed between time kτ and (k+1)τ can be determined by comparing ${\overset{\sim}{I}}_{k + 1} = \frac{Q_{k + 1} - {wQ}_{0}}{\left( {k + 1} \right)\quad \tau}$

[0128] with Î_(k). A simple decision rule would be to declare that motion has occurred if

|Ĩ _(k+1) Î _(k) |≧mΔ _(pre),  (17)

[0129] and to use Î_(k) as the final estimate of i, otherwise to use Ĩ_(k+1) to update the estimate of i, i.e., Î_(k+1).

[0130] For further details on respective mathematical models and corresponding calculations, readers are referred to Applicants' publication, “Simultaneous Image Formation and Motion Blur Restoration via Multiple Capture”, Proc. of ICASSP2001, Salt Lake City, May 2001, the publication of which is hereby expressly incorporated herein by reference in its entirety.

[0131] The constant m>0 is chosen to achieve the desired tradeoff between SNR improvement and motion blur. The higher m the more motion blur if i changes with time, but also the higher the SNR if i is a constant, and vice versa. One potential problem with this “hard” decision rule is that gradual drift in i can cause accumulation of estimation error resulting in undesired motion blur. Therefore, in a preferred embodiment, the present invention utilizes a novel “soft” decision rule.

[0132] Motion Detection Algorithm with Soft Decision Rule

[0133] In a preferred embodiment with high frame rate capture, the algorithm described herein employs a recursive “soft decision” algorithm to detect change in each pixel's signal due to motion or change in illumination. The decision to stop estimating after motion is detected is made locally and is independent of other pixel's signals.

[0134] With reference to FIG. 8, a soft decision motion detection algorithm according to an aspect of the present invention will now be described.

[0135] For each pixel, after the (k+1)st capture:

[0136] 1. If |Ĩ_(k+1)−Î_(k)|≦m₁Δ_(pre), then declare that no motion detected. Use Ĩ_(k+1) to update Î_(k+1) and set L⁺=0, L⁻=0.

[0137] 2. If |Ĩ_(k+1)−Î_(k)|≧m₂Δ_(pre), L⁺=l_(max), or L⁻=l_(max), then declare that motion detected. Use Î_(k) as the final estimate of i.

[0138] 3. If m₁Δ_(pre)<Ĩ_(k+1)−Î_(k)<−m₂Δ_(pre), then defer the decision and set L⁺=L⁺1, L⁻=0.

[0139] 4. If −m₂Δ_(pre)<Ĩ_(k+1)−Î_(k)<−m₁Δ_(pre), then defer the decision and set L⁻=L⁺1, L⁺=0.

[0140] The counters, L⁺ and L⁻, record the number of times the decision is deferred, and 0<m₁<m₂ and l_(max) are chosen so to achieve a desirable balance between the highest possible SNR and the least possible motion blur.

[0141] To demonstrate such tradeoff between the SNR and motion blur distortion, turn now to FIG. 9 where optimal integration time under motion is illustrated. Consider a linearly varying photocurrent

i(t)=i ₀(1+ρt)  (18)

[0142] where i₀=i(0) is the photocurrent at the beginning of exposure, 0≦t≦T is time during exposure, and ρ≧−1/T is the rate of photocurrent change. In a simplified analysis, assume that photocurrent is estimated by the most recent sample Ĩ_(k). In this case, the MSE can be expressed as the sum of two components

MSE=Δ ₁ ²+Δ₂ ², ${{{where}\quad \Delta_{1}^{2}} = \left( {\frac{1}{2}\rho \quad i_{0}t} \right)^{2}},$

[0143] is the MSE due to motion distortion and ${\Delta_{2}^{2} = {\frac{\sigma_{V}^{2}}{t^{2}} + \frac{{qi}_{0}}{t} + {\frac{1}{2}q\quad \rho \quad i_{0}}}},$

[0144] is the estimation MSE. As can be seen in FIG. 9, Δ₁ ² increases with time, since the deviation from constant current due to motion increases with t, while Δ₂ ² decreases with time, since estimation becomes more accurate as t increases. The parameters, m₁, m₂, L⁺, and L⁻, of the present invention can be set to achieve desired tradeoff between SNR and motion blur distortion.

[0145]FIG. 10 further demonstrates the advantages of the present invention such as simultaneous SNR and dynamic range improvement with multiple captures without motion blur. FIG. 10 shows an example of motion blur prevention with a rapid movement in the scene. Images (a) and (b) show respective positions of a dancer at the beginning and end of an exposure time. Image (c) illustrates a final image generated by a conventional sensor with normal exposure time. Image (d) comparably illustrates a final image generated by a sensor utilizing the present invention. As shown in FIG. 10, by applying the inventive algorithms described herein the image blur in (c) is almost completely eliminated in (d).

[0146] Turning to FIG. 11, where a recursive estimation system according to an embodiment of the present invention will now be described. In FIG. 11, a recursive estimation system 1100 recursively estimates the intensity of the illumination on a sensor by digitally latching pixel current (charge) Q(T) 130 or holding it as an analog voltage value. Similarly, recursive estimation system 1100 latches or holds photocurrent estimate 1101, weighting coefficient 1102, overall photocurrent variability 1103 and last sample photocurrent variability 1104.

[0147] Synchronously with the assertion of a reset signal, initial values for photocurrent estimate 1101, weighting coefficient 1102, overall photocurrent variability 1103 and last sample photocurrent variability 1104 are latched or held. In an embodiment of the invention, these initial values may depend on calibration parameters of an associated sensor array. In another embodiments of the invention, these initial values may depend on user preferences or settings that indicate the type of image being captured.

[0148] Operations of the recursive estimation system 1100 will now be described with reference to FIGS. 1 and 11. As previously described, FIG. 1 shows a conventional 2D sensor array 110 with pixel circuit 120. Integrating with the recursive estimation system 1100, after the assertion of the reset signal ends and before the accumulation of any charge, the voltage on capacitor 122 is measured. This initial measurement is used as the initial value of charge Q(T) 130.

[0149] When a new charge Q(T) 130 becomes available from the readout circuit 125, an arithmetic computation logic 1120 first perform motion/saturation detection. If no motion/saturation is detected based on this new charge Q(T) 130 and the previous values of pixel current estimate 1101, weighting coefficient 1102, overall photocurrent variability 1103 and last sample photocurrent variability 1104, the updated value 1130 is then calculated. These previous values, i.e., photocurrent estimate 1101, weighting coefficient 1102, overall photocurrent variability 1103 and last sample photocurrent variability 1104, are then replaced by the updated values 1130. If motion/saturation is detected, then the previous values are not updated. This process is recursively repeated for each capture within exposure time T. At the end of exposure time T, the arithmetic computation logic 1120 outputs photocurrent estimate 1101 as final photocurrent estimate 1140.

[0150] In sum, the photocurrent estimation according to an aspect of the present invention reduces read noise and thus enhances dynamic range at low illumination end. The motion/saturation detection according to another aspect of the present invention enhances dynamic range at the high illumination end. The inventive motion/saturation detection further ensures that the estimation is not corrupted by motion. As previously described, recent advances in CMOS image sensor technology enable digital high speed capture up to thousands of frames per second, enabling new imaging enhancement capabilities such as multiple sampling (multiple captures) for increasing the sensor dynamic range. The present invention further strengthens such multiple sampling capability in CMOS image sensors by providing apparatuses, systems, and methods for synthesizing high dynamic range, low or no noise, motion blur free images even under low illumination and/or with extended exposure time.

[0151] Furthermore, the present invention operates completely locally, i.e., each image pixel's final value is computed using only its captured values, and recursively, requiring only a constant number of values per pixel be stored. The storage requirement is thus small and independent of the number of images captured. These modest computation and storage requirements make the present invention well suited for single chip digital camera implementations.

[0152] It will be obvious to one skilled in the art that the present invention, including the non-recursive estimation, recursive estimation, suboptimal recursive estimation motion/saturation detection, soft decision rule, and high dynamic motion blur free image synthesis from multiple captures, along with respectively associated variables, parameters, values and circuitry designs, described in various embodiments of the present invention, may be implemented, calibrated and/or fabricated in various hardware and software implementations without departing from the principles, spirit, or scope of the present invention.

[0153] For example, either a non-recursive estimation system or a recursive estimation system such as the recursive estimation system 1100 may implement the computations needed based on analog approximations, digital approximations, estimators and heuristics, so as to reduce the size and complexity of the circuits involved and/or required, to speed up associated sensor operation, or both. In addition, some embodiments of the present invention may be integrated at pixel level, column level, or chip level. Furthermore, some aspects of the present invention may be integrated with a CCD or a CMOS image sensor system. In particular, the present invention may be advantageously implemented in a novel CMOS DPS image sensor system with self-reset pixel architecture as disclosed in Applicants' cross-referenced U.S. patent applications, titled “CMOS Image Sensor System with Self-Reset Digital Pixel Architecture for Improving SNR and Dynamic Range” and “Method for Improving SNR in Low Illumination Conditions in a CMOS Video Sensor System Using a Self-Resetting Digital Pixel”.

[0154] Although the present invention and its advantages have been described in detail, it should be understood that the resent invention is not limited to or defined by what is shown or discussed herein; rather, the invention may be practiced with the specific details herein omitted or altered. The drawings, description and discussion herein illustrate technologies related to the invention, show examples of the invention and provide examples of using the invention. Known methods, procedures, systems, circuits or components may be discussed or illustrated without giving details, so as to avoid obscuring the principles of the invention. One skilled in the art will realize that changes, substitutions, and alternations could be made in numerous implementations, modifications, variations, selections among alternatives, changes in form, and improvements without departing from the principles, spirit or legal scope of the invention. Accordingly, the scope of the present invention should be determined by the following claims and their legal equivalents. 

We claim:
 1. A method for preventing motion/saturation from corrupting image capturing during a global exposure time of a sensor, comprising: performing for each pixel of said sensor: a) determining a difference between an illumination measurement obtained during current image capturing and an illumination estimation generated during previous image capturing; b) comparing said difference with a threshold value; and c) determining, based on step b), whether motion/saturation has occurred.
 2. The method of claim 1, further comprising: d1) accepting said illumination measurement and updating said illumination estimation if motion/saturation has not occurred; d2) updating said illumination estimation with said illumination measurement if motion/saturation has occurred but terminating said performing act is deferred; and d3) terminating said performing act and outputting said illumination estimation as final illumination estimation if motion/saturation has occurred.
 3. The method of claim 1, wherein said threshold value is generated based on a predetermined parameter and a prediction variable, said predetermined parameter is configured to achieve desired tradeoff between signal-to-noise ratio and motion blur.
 4. The method of claim 1, wherein said image capturing occurs a multiplicity of times during said global exposure time thereby producing a multiplicity of measurements and wherein an optimal illumination estimation for said sensor is generated based on said multiplicity of measurements.
 5. The method of claim 4, wherein said optimal illumination estimation is generated based on maximum likelihood.
 6. The method of claim 4, wherein said optimal illumination estimation is generated based on linear minimum mean square error.
 7. The method of claim 1, wherein said image capturing occurs a multiplicity of times during said global exposure time thereby producing a multiplicity of measurements and wherein an optimal illumination estimation for said sensor is generated based on selectively accepted multiplicity of measurements.
 8. The method of claim 7, wherein said optimal illumination estimation is generated based on maximum likelihood.
 9. The method of claim 7, wherein said optimal illumination estimation is generated based on linear minimum mean square error.
 10. The method of claim 1, wherein each pixel's effective exposure time is adaptive to its own lighting condition thereby enabling performing for each pixel independently of other pixels' lighting conditions.
 11. The method of claim 1, wherein each pixel is capable of terminating its own exposure time thereby enabling extending said global exposure time.
 12. The method of claim 11, wherein said global exposure time is limited by motion and saturation only thereby enabling said sensor to achieve higher signal-to-noise ratio and dynamic range.
 13. The method of claim 1, wherein said steps a)-c) are performed based on parameters calculated recursively, said parameters including said weighting coefficient, overall variance, and covariance.
 14. The method of claim 1, wherein said steps a)-c) are performed based on parameters calculated non-recursively.
 15. The method of claim 1, wherein said illumination estimation is generated based on maximum likelihood.
 16. The method of claim 1, wherein said illumination estimation is generated based on linear minimum mean square error.
 17. The method of claim 1, further comprising: utilizing a soft decision rule for preventing error accumulation due to slow motion.
 18. The method of claim 17, wherein said threshold value is characterized by a first range of values and a second range of values that include said first range of values, wherein said first range of values is characterized by a first constant parameter m₁ and said second range of values is characterized by a second constant parameter m₂ where 0<m₁<m₂, and wherein m₁, m₂, and length of global exposure time are chosen so to achieve a desirable balance between highest possible signal-to-noise ratio and least possible motion blur.
 19. The method of claim 18, wherein step c) further comprising: c1) indicating no motion/saturation has occurred and updating said illumination estimation with said illumination measurement, if said difference falls within said first range of values; and c2) indicating motion/saturation has occurred and, 1) if said difference falls outside said second range of values, terminating said performing act and using said illumination estimation for generating an optimal illumination estimation for said sensor; and 2) if said difference falls between said first range of values and said second range of values, deferring terminating said performing act and updating said illumination estimation with said illumination measurement.
 22. A method for synthesizing from multiple captures high dynamic range motion blur free images, said method comprising the steps of: a) capturing a first image sample; b) generating for each pixel a current illumination estimation based on said first captured image sample; c) capturing a next image sample; d) determining for each pixel whether motion/saturation has occurred and whether to include said next image sample; e) repeat steps c) and d) until no more image samples are to be captured.
 23. The method of claim 22, wherein said step d) further comprising: d1) if motion/saturation has occurred, using said current illumination as final illumination estimation; and d2) if no motion/saturation has occurred or a decision is deferred, including said next image sample and updating said current illumination.
 24. A system having a sensor capable of capturing a multiplicity of image samples during a global exposure time, comprising: motion/saturation detecting means for determining for each pixel whether motion/saturation has occurred between a previous capturing and a current capturing; processing means for determining for each pixel whether to accept an image sample captured during said current capturing; estimating means for generating an optimal illumination estimation for said sensor based on selectively accepted multiplicity of image samples captured during said global exposure time thereby preventing motion/saturation from corrupting image capturing.
 25. The system of claim 24, further comprising: means for determining for each pixel a difference between an illumination measurement obtained during said current capturing and an illumination estimation generated during said previous capturing; means for comparing for each pixel said difference with a threshold value; means for updating for each pixel said illumination estimation with an accepted or deferred illumination measurement; and means for outputting for each pixel a final illumination estimation.
 26. The system of claim 25, wherein said threshold value is generated based on a predetermined parameter and a prediction variable, said predetermined parameter is configured to achieve desired tradeoff between signal-to-noise ratio and motion blur.
 27. The system of claim 25, wherein said threshold value is characterized by a first range of values and a second range of values that include said first range of values, wherein said first range of values is characterized by a first constant parameter m₁ and said second range of values is characterized by a second constant parameter m₂ where 0<m₁<m₂, and wherein m₁, m₂, and length of global exposure time are chosen so to achieve a desirable balance between highest possible signal-to-noise ratio and least possible motion blur
 28. The system of claim 27, further comprising: a soft decision means for preventing error accumulation due to slow motion, said soft decision means indicating no motion/saturation has occurred and updating said illumination estimation with said illumination measurement, if said difference falls within said first range of values; indicating motion/saturation has occurred and outputting said illumination estimation as said final illumination estimation, if said difference falls outside said second range of values; and indicating motion/saturation has occurred and said illumination measurement is deferred, and updating said illumination estimation with said deferred illumination measurement, if said difference falls between said first range of values and said second range of values.
 29. The system of claim 24, wherein each pixel's effective exposure time is adaptive to its own lighting condition thereby enabling performing for each pixel independently of other pixels' lighting conditions.
 30. The system of claim 24, wherein each pixel is capable of terminating its own exposure time thereby enabling extending said global exposure time.
 31. The system of claim 30, wherein said global exposure time is limited by motion and saturation only thereby enabling said sensor to achieve higher signal-to-noise ratio and dynamic range.
 32. The system of claim 24, wherein said motion/saturation detecting means utilizes parameters calculated recursively.
 33. The system of claim 24, wherein said motion/saturation detecting means utilizes parameters calculated non-recursively.
 34. The system of claim 24, wherein said estimating means is characterized as recursive.
 35. The system of claim 24, wherein said estimating means is characterized as non-recursive.
 36. The system of claim 24, wherein said estimating means is configured based on maximum likelihood.
 37. The system of claim 24, wherein said estimating means is configured based on linear minimum mean square error.
 38. The system of claim 24, wherein said motion/saturation detecting means and said estimating means are implemented based on a self-reset pixel architecture.
 39. The system of claim 38, wherein said self-reset pixel architecture utilizes self-reset digital pixel sensors.
 40. The system of claim 24, wherein said system is implemented on a single chip.
 41. The system of claim 24, wherein said sensor is a digital pixel sensor.
 42. The system of claim 24, wherein said sensor is a photodiode and said illumination measurement represents a charge accumulated from photocurrent produced by said photodiode. 